package com.scau.beyondboy.criminalintent;
import android.support.v4.app.Fragment;
import android.util.Log;

import java.util.UUID;
public class CrimeActivity extends SingleFragmentActivity
{
    private static final String TAG ="CrimeActivity" ;
    /**返回CrimeFragment对象*/
    @Override
    protected Fragment creteFragment()
    {
        Log.i(TAG,"creteFragment");
        UUID crimeId=(UUID)getIntent().getSerializableExtra(CrimeFragment.EXTRA_CRIME_ID);
        return CrimeFragment.newInstance(crimeId);
    }
}
